package com.example.graduate.sort;
import com.example.graduate.pojo.RechargeSerial;
import java.util.Comparator;

public class RechargeSerialCreateTimeComparator implements Comparator<RechargeSerial> {

    @Override
    public int compare(RechargeSerial o1, RechargeSerial o2) {
        int i = o1.getCreateTime().compareTo(o2.getCreateTime());
        return i;
    }

    @Override
    public boolean equals(Object obj) {
        return false;
    }
}
